module.exports = {
  title: "db-blog",
  description: '学而有术 求而有道 .',
  dest: 'public',
  head: [
    ['link', { rel: 'icon', href: '/favicon.ico' }],
    ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
  ],
  theme: 'reco',
  themeConfig: {
    sidebarDepth: 3,
    activeHeaderLinks: false,
    mode: 'light',
    modePicker: true,
    nav: [
      { text: 'Home', link: '/', icon: 'reco-home' },
      { text: 'TimeLine', link: '/timeline/', icon: 'reco-date' },
      // { text: 'Contact',
      //   icon: 'reco-message',
      //   items: [
      //     { text: '笔记', link: '/笔记'},
      //     { text: '摘记', link: '/摘记'},
      //     { text: 'java', link: '/java'},
      //     { text: '微服务', link: '/微服务'},
      //     { text: '学习笔记', link: '/学习笔记'},
      //   ]
      // }
    ],
    type: 'blog',
    // 博客设置
    blogConfig: {
      category: {
        location: 3, // 在导航栏菜单中所占的位置，默认2
        text: 'Category' // 默认 “分类”
      },
      tag: {
        location: 3, // 在导航栏菜单中所占的位置，默认3
        text: 'Tag' // 默认 “标签”
      }
    },
    friendLink: [
      {
        title: '午后南杂',
        desc: '感谢作者主题',
        link: 'https://www.recoluan.com/'
      },
      {
        title: 'vuepress-theme',
        desc: 'A simple and beautiful vuepress Blog & Doc theme.',
        avatar: "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        link: 'https://vuepress-theme-reco.recoluan.com'
      },
    ],
    logo: '/logo.png',
    // 搜索设置
    search: true,
    searchMaxSuggestions: 10,
    // 自动形成侧边导航
    sidebar: 'auto',
    // 最后更新时间
    lastUpdated: 'Last Updated',
    // 作者
    author: 'dubin',
    // 作者头像
    authorAvatar: '/avatar.png',
    // 备案号
    // record: '备案号',
    // 项目开始时间
    startYear: '2020-07-16'
    /**
     * 密钥 (if your blog is private)
     */

    // keyPage: {
    //   keys: ['your password'],
    //   color: '#42b983',
    //   lineColor: '#42b983'
    // },

    /**
     * valine 设置 (if you need valine comment )
     */

    // valineConfig: {
    //   appId: '...',// your appId
    //   appKey: '...', // your appKey
    // }
  },
  markdown: {
    lineNumbers: true
  }
}  
